\documentclass[a4paper,11pt,twoside]{memoir}
\chapterstyle{veelo}
\usepackage{TUINFDA}

\usepackage{url}
\usepackage{hyperref}					% links in pdf
\usepackage{graphicx}            			% Figures
\usepackage{verbatim}            			% Code-Environment
\usepackage[lined,linesnumbered,algochapter]{algorithm2e} % Algorithm-Environment
\usepackage{bussproofs}
\usepackage{amsmath,amsthm}
\usepackage[center]{caption}
\usepackage{pgf}					
\usepackage{tikz}					% tikz graphics
\usepackage{tikz-qtree}					% tikz graphics
\usepackage{listings}
 \usepackage{ifthen}
 \usepackage{slashbox}
 \usepackage{subcaption}
 \usepackage{soul} % for highlighting \hl
 \usepackage{rotating}

\usetikzlibrary{arrows,automata,shapes}

\usepackage{bm}
\usepackage{ngerman}
\usepackage[ngerman]{babel}
\usepackage{bibgerm,cite}       % Deutsche Bezeichnungen, Automatisches Zusammenfassen von Literaturstellen
\usepackage[ngerman]{varioref}  % Querverweise

% to use the german charset include cp850 for MS-DOS, ansinew for Windows and latin1 for Linux.
%\usepackage[cp850]{inputenc}

\thesistitle{Normal Forms for $\;$ Non-Relational Data}
% \thesissubtitle{Optional Subtitle} % optional
\thesisdate{08.10.2013}

% all titles and designations have to be gender-related!
\thesisdegree{Diplom-Ingenieur}{Diplom-Ingenieur}
\thesiscurriculum{Computational Intelligence}{Computational Intelligence} % your study
\thesisverfassung{Verfasser} % Verfasser
\thesisauthor{Wolfgang Fischl} % your name
\thesisauthoraddress{Setzgasse 32} % your address
\thesisauthorcity{7072 M\"{o}rbisch am See} % your address
\thesismatrikelno{0602106} % your registration number

\thesisbetreins{Univ.Prof. Mag.rer.nat. Dr.techn. Reinhard Pichler}
\thesisbetrzwei{Univ.Ass. Dipl.Ing. Emanuel Sallinger}
\thesisbetrdrei{Univ.Ass. Dr.techn. Mantas Simkus, MSc}
\thesisbetrvier{Univ.Prof. Dr. Diego Calvanese (Free University of Bolzano, Bozen)} % optional

% define page numbering styles
\makepagestyle{numberCorner}
\makeevenfoot{numberCorner}{\thepage}{}{}
\makeoddfoot{numberCorner}{}{}{\thepage}

% define custom macros for specific formats or names
\newcommand{\uml}[1]{\texttt{#1}}
\newcommand{\cd}{\textsf{Class Diagram}}

% custom macros
  \newcommand{\ra}{\rightarrow}
  \newcommand{\Ra}{\Rightarrow}
  \newcommand{\La}{\Leftarrow}
  \newcommand{\la}{\leftarrow}
  \newcommand{\lr}{\leftrightarrow}
  \newcommand{\LR}{\Leftrightarrow}
  \newcommand{\mcI}{\mathcal{I}}
  \newcommand{\mcU}{\mathcal{U}}
  \newcommand{\mcK}{\mathcal{K}}
  \newcommand{\mcA}{\mathcal{A}}
  \newcommand{\mcS}{\mathcal{S}}
  \newcommand{\mcB}{\mathcal{B}}
  \newcommand{\mcC}{\mathcal{C}}
   \newcommand{\mcJ}{\mathcal{J}}
  \newcommand{\mcT}{\mathcal{T}}
  \newcommand{\mcF}{\mathcal{F}}
  \newcommand{\mcM}{\mathcal{M}}
  \newcommand{\mcN}{\mathcal{N}}
  \newcommand{\mcD}{\mathcal{D}}
  \newcommand{\mcL}{\mathcal{L}}
  \newcommand{\mcR}{\mathcal{R}}
    \newcommand{\mcb}{\mathcal{b}}
  \newcommand{\mcQ}{\mathcal{Q}}
  \newcommand{\mcO}{\mathcal{O}}
  \newcommand{\DLA}{\textit{DL-Lite}_\mcA}
    \newcommand{\DLAId}{\textit{DL-Lite}_{\mcA,id}}
    \newcommand{\DLAtid}{\textit{DL-Lite}_{\mcA,tid}}
  \newcommand{\DL}{\textit{DL-Lite}}
  \newcommand{\role}[1]{\textsf{#1}}
  \newcommand{\TRU}{\mcT_{R\left[U\right]}}
  \newcommand{\SROIQ}{\mcS\mcR\mcO\mcI\mcQ}

  \newcommand{\DLR}{\textit{DL-Lite}_\mcR}
  \newcommand{\DLRDFS}{\textit{DL-Lite}_\textit{RDFS}}
  \newcommand{\vd}{\vdash}
  \newcommand{\funct}[1]{\left(\mbox{funct} \;\; #1 \right)}
  \newcommand{\id}[2]{\left(\mbox{id} \;\; #1 \;\; #2\right)}
  \newcommand{\Tlabel}[1]{\RightLabel{\scriptsize #1 }}
  \newcommand{\setmin}{\;\backslash\;}
  \newcommand{\ga}{\textsf{ga}}
  \newcommand{\FD}{\mathit{FD}}
  \newcommand{\mcFD}{\mcF\mathit{D}}
  \newcommand{\db}{\mathit{db}}
  \renewcommand{\models}{\vDash}
  \newcommand{\nmodels}{\nvDash}

     \newtheorem{theorem}{Theorem}[chapter]
     \newtheorem{lemma}{Lemma}[chapter]
     \newtheorem{claim}{Claim}[chapter]
     \newtheorem{proposition}{Proposition}[chapter]
     \newtheorem{corollary}{Corollary}[chapter]      
     \theoremstyle{definition}
     \newtheorem{definitionx}{Definition}[chapter]
     \newenvironment{definition}
       {\pushQED{\qed}\renewcommand{\qedsymbol}{$\triangleleft$}\definitionx}
       {\popQED\enddefinitionx}
     \newtheorem{examplex}{Example}[chapter]
     \newenvironment{example}
       {\pushQED{\qed}\renewcommand{\qedsymbol}{$\triangleleft$}\examplex}
       {\popQED\endexamplex}
       

  %fonts for functions, models, etc. 
  \newcommand{\ffo}[1]{\mathit{#1}} %\ffo defines the font used for functions
  \newcommand{\mfo}[1]{\mathcal{#1}} %\mfo defines the font used for models
  \newcommand{\ifo}[1]{\mathit{#1}} %\ifo defines the font used for instances of relations
  \newcommand{\cfo}[1]{\mathit{#1}} %\cfo defines the font used for concepts
  \newcommand{\rfo}[1]{\mathit{#1}} %\rfo defines the font used for roles
  \newcommand{\im}[2]{\ffo{i2m}\ifthenelse{\not{\equal{#1}{}}}{_{#1}\left(#2\right)}{}}
  \newcommand{\mi}[2]{\ffo{m2i}\ifthenelse{\not{\equal{#1}{}}}{_{#1}\left(#2\right)}{}}
  \newcommand{\drm}[1]{\ffo{drm}\left(#1\right)}
  \newcommand{\rdm}[1]{\ffo{rdm}\left(#1\right)}
  \newcommand{\sm}[1]{\ffo{sm}\ifthenelse{\not{\equal{#1}{}}}{\left(#1\right)}{}}
  \newcommand{\dm}[1]{\ffo{dm}\ifthenelse{\not{\equal{#1}{}}}{\left(#1\right)}{}}
  \newcommand{\tS}{\texttt{S}}
  \newcommand{\DB}[1]{\ffo{DB}\left(#1\right)}
  \newcommand{\LOGSPACE}{\textsc{LogSpace }}
  \newcommand{\NLOGSPACE}{\textsc{NLogSpace }}
  \mathchardef\mhyphen="2D
  \setcounter{secnumdepth}{3}
  
  \newenvironment{items}{
\begin{itemize}
  \addtolength{\itemsep}{-0.25em}
}{\end{itemize}}
  
\definecolor{gray}{rgb}{0.4,0.4,0.4}
\definecolor{darkblue}{rgb}{0.0,0.0,0.6}
\definecolor{cyan}{rgb}{0.0,0.6,0.6}

\lstset{
  basicstyle=\small\ttfamily,
  columns=fullflexible,
  showstringspaces=false,
  commentstyle=\color{gray}\upshape
}

\lstdefinelanguage{XML}
{
  morestring=[b]",
  morestring=[s]{>}{<},
  morecomment=[s]{<?}{?>},
  stringstyle=\color{black},
  identifierstyle=\color{darkblue},
  keywordstyle=\color{cyan},
  morekeywords={xmlns,version,type}% list your attributes here
}

\lstdefinelanguage{DTD}
{
  keywordstyle=\bfseries,
  morekeywords={DOCTYPE,ELEMENT,ATTLIST}% list your attributes here
}

\definecolor{olivegreen}{rgb}{0.2,0.8,0.5}
\definecolor{darkgreen}{rgb}{0.2,0.6,0.2}
\definecolor{grey}{rgb}{0.5,0.5,0.5}
\lstdefinelanguage{ttl}{
sensitive=true,
morecomment=[l][\color{grey}]{@},
moredelim=[il][\color{red}]{\%},
moredelim=[il][\color{darkgreen}]{+},
morestring=[b][\color{blue}]\",
}

\begin{document}

\captionnamefont{\bfseries}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%   FRONTMATTER    %%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\frontmatter
\pagenumbering{roman}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%   TITLEPAGES    %%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% the german title page is required as first page
\include{titlepage}

% an english translation may follow
\include{titlepage_en} % optional

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%   ERKLAERUNG DER SELBSTAENDIGKEIT   %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\cleardoublepage
\selectlanguage{ngerman}
\input{chapters/erklaerung}
\selectlanguage{english}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%   ACKNOWLEDGEMENTS    %%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% optional acknowledgements may be included in german or in english
%\input{chapters/danksagung} 		% optional
\input{chapters/acknowledgements}	% optional

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%   ABSTARCT    %%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\input{chapters/abstract_en}
\cleardoublepage
\selectlanguage{ngerman}
\input{chapters/abstract_de}
\selectlanguage{english}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%   CONTENTS    %%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% uncomment to set document language to german (results in "Inhaltsverzeichnis", "Kapitel", "Abbildung", etc. instead of "Contents", "Chapter", and "Figure"), otherwise the document's language is english
%\selectlanguage{ngerman}

\setcounter{tocdepth}{2}

\cleardoublepage
\pagestyle{numberCorner}
\tableofcontents*

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%   MAINMATTER    %%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\mainmatter
\setcounter{secnumdepth}{3}
\pagenumbering{arabic}
\pagestyle{numberCorner}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter{Introduction}
\label{ch:intro}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\input{chapters/introduction}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\chapter{Data Models}
%\label{ch:models}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%\input{chapters/models}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\chapter{Mappings}
%\label{ch:mappings}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%\input{chapters/mappings}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter[Existing Normal Forms For Relational Data]{Existing Normal Forms \\ For Relational Data}
\label{ch:relational}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\input{chapters/relational}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter[Existing Normal Form For XML Data]{Existing Normal Form \\ For XML Data}
\label{ch:xml}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\input{chapters/xml}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter[A New Normal Form For  Description Logics]{A New Normal Form \\ For  Description Logics}
\label{ch:dl}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\input{chapters/dl}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter{Conclusion}
\label{ch:conclusion}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\input{chapters/conclusion}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\chapter{Design}
%\label{ch:design}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%\input{chapters/design}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\chapter{Bibliographic}
%\label{ch:bibliographic}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%\input{chapters/bibliographic}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% BACKMATTER %%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\appendix

\bibliographystyle{abbrv} 
\bibliography{../thesis}

\end{document}
